using System.Drawing;
using System.Windows.Forms;
using stdole;

namespace LazyPlugins.DeclarativeAddinCreator.Helpers
{
    class ImageConverter : AxHost
    {
        internal ImageConverter(): base(""){}

        public static IPictureDisp GetIPictureDispFromImage(Image image)
        {
            return (IPictureDisp)AxHost.GetIPictureDispFromPicture(image);
        }
    }
}